import request from '@/utils/request'

export function fetchList(data) {
  return request({
    url: '/api/w/price/list',
    method: 'post',
    params: data
  })
}

export function createRow(data) {
  return request({
    url: '/api/w/price/add',
    method: 'post',
    data
  })
}

export function updateRow(data) {
  return request({
    url: '/api/w/price/update',
    method: 'post',
    data
  })
}
export function deleteRow(data) {
  return request({
    url: '/api/w/price/delete',
    method: 'post',
    params: data
  })
}

